package com.woniu.cq.medical.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2020-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lonbon_prescription_info")
public class PrescriptionInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 处方详情编号
     */
    @TableId(value = "prescription_info_id", type = IdType.AUTO)
    private Integer prescriptionInfoId;

    /**
     * 处方id
     */
    private Integer prescriptionId;

    /**
     * 药品id
     */
    private Integer medicineId;

    /**
     * 药品数量
     */
    private Integer medicineNumber;

    /**
     * 药品单价
     */
    private Double medicinePrice;

    /**
     * 药品总价
     */
    private Double medicineTotal;

    /**
     * 使用方式
     */
    @TableField("medicine_Use")
    private String medicineUse;

    /**
     * 使用频率
     */
    @TableField("medicine_Frequency")
    private String medicineFrequency;


}
